const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  transpileDependencies: true,
  css: {
    loaderOptions: {
      less: {
        lessOptions: {
          modifyVars: {
            // 直接覆盖变量
            'blue': '#21b97a',
            '@nav-bar-title-text-color':'#fff',
            '@nav-bar-icon-color':'#fff',
            '@nav-bar-background-color':'#21b97a',
            '@index-bar-index-line-height':'21px',
            '@index-anchor-line-height':'20px',
            'index-anchor-font-size':'16px',
            // '@swipe-indicator-active-background-color':'#ccc',
            // 'swipe-indicator-inactive-background-color':'#ccc'
            // '@swipe-indicator-inactive-background-color':'pink'
          },
        },
      },
    },
  },
})
